package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1.bxscn;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class BXSCNScanGetResponse extends SecurityResponse<BXSCNScanGetResponse.Body> {

    private static final long serialVersionUID = 1L;

    public BXSCNScanGetResponse() {
        this.body = new Body();
    }

    public BXSCNScanGetResponse(Integer code) {
        this.body = new Body();
        this.code = code;
    }

    public BXSCNScanGetResponse(Integer code, String msg) {
        this.body = new Body();
        this.code = code;
        this.msg = msg;
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String deviceSn;
        private Integer state;          //状态，1:在线，2:离线，3:无充电宝

        private String depositMoneyStr;	    //押金
        private String dayMaxMoneyStr;     //日最大费用
        private String payIntervalMoneyStr;     //每小时支付金额
        private Integer freeTimes;            //免费时长，单位：分钟

        private String placeName;           //网点名称
        private String placeAreaName;
        
        private Boolean signingAgreement = false;		//签署协议

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }

        public String getDepositMoneyStr() {
            return depositMoneyStr;
        }

        public void setDepositMoneyStr(String depositMoneyStr) {
            this.depositMoneyStr = depositMoneyStr;
        }

        public String getDayMaxMoneyStr() {
            return dayMaxMoneyStr;
        }

        public void setDayMaxMoneyStr(String dayMaxMoneyStr) {
            this.dayMaxMoneyStr = dayMaxMoneyStr;
        }

        public String getPayIntervalMoneyStr() {
            return payIntervalMoneyStr;
        }

        public void setPayIntervalMoneyStr(String payIntervalMoneyStr) {
            this.payIntervalMoneyStr = payIntervalMoneyStr;
        }

        public Integer getFreeTimes() {
            return freeTimes;
        }

        public void setFreeTimes(Integer freeTimes) {
            this.freeTimes = freeTimes;
        }

        public String getPlaceName() {
            return placeName;
        }

        public void setPlaceName(String placeName) {
            this.placeName = placeName;
        }

        public String getPlaceAreaName() {
            return placeAreaName;
        }

        public void setPlaceAreaName(String placeAreaName) {
            this.placeAreaName = placeAreaName;
        }

		public Boolean getSigningAgreement() {
			return signingAgreement;
		}

		public void setSigningAgreement(Boolean signingAgreement) {
			this.signingAgreement = signingAgreement;
		}
    }
}
